{# **
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 * #}

<div class="module-render-container all-modules">
  <p>
    <h2>{{ 'Choose a module to configure'|trans({}, 'Admin.Catalog.Feature') }}</h2>
    {{ 'These modules are relative to the product page of your store.'|trans({}, 'Admin.Catalog.Feature') }}<br />
    {{ 'To manage all your modules go to the [1]Installed module page[/1]'|trans({}, 'Admin.Catalog.Feature')|replace({'[1]': '<a href="' ~ path('admin_module_manage') ~ '">', '[/1]': '</a>'})|raw }}
  </p>

  <div class="row">
    {% for module in extraModules %}
      <div class="col-lg-6 col-xl-4">
        <div class="module-item-wrapper-grid">
          <div class="module-item-heading-grid">
            <img class="module-logo-thumb-grid" src="{{ module.attributes.img }}" alt="{{ module.attributes.displayName }}">
            <h3 class="text-ellipsis module-name-grid">
              {{ module.attributes.displayName }}
            </h3>
            <div class="text-ellipsis small-text module-version-author-grid">
              {{ module.attributes.version }} by {{ module.attributes.author }}
            </div>
          </div>
          <div class="module-quick-description-grid small no-padding">
            {{ module.attributes.description }}
          </div>
          <div class="module-container">
            <div class="module-quick-action-grid clearfix">
              <button type="button" class="modules-list-button btn btn-outline-primary pull-xs-right" data-target="module-{{ module.id }}">
                {{ 'Configure'|trans({}, 'Admin.Actions') }}
              </button>
            </div>
          </div>
        </div>
      </div>
    {% endfor %}
  </div>
</div>
